﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LKVMLMADMIN.Controllers
{
    public class ModuleController : Controller
    {
        //
        // GET: /Module/

        public ActionResult Index(string commission = null)
        {
            return View();
        }
        public ActionResult ListCommission()
        {
            if (Session["User"] != null)
            {
                var Profitservice = new LKVService.ProfitService();
                var ListCommission = Profitservice.getListCommissionConfig(true, false);
                ViewBag.ListCommission = ListCommission;           
                return View();
            }
            else
                return RedirectToAction("Login", "Account");
        }    

    }
}
